package org.origin.centre.support.base.annotations;

import org.origin.centre.support.base.interfaces.XEnum;

import java.lang.annotation.*;

/**
 * 数据映射
 *
 * @author ferret
 * @version 2024-05-08
 */
@SuppressWarnings("unused")
@Documented
@Target({ElementType.METHOD, ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface XMapper {

    Class<? extends XEnum<?>> value();

    String method() default "";

    String field() default "";
}
